const bf = Buffer.alloc(10,  'A');
bf.writeInt32LE(65535,0);
console.log(bf.toString("hex"));

const bfunsafe = Buffer.allocUnsafe(10);
console.log(bfunsafe)

const bfsw = Buffer.allocUnsafeSlow(1);
console.log(bfsw)

console.log(Buffer.from("dlc"))

console.log(Buffer.byteLength("admin"))


const swpbf = Buffer.alloc(4);
swpbf.writeInt32LE(65535, 0);
swpbf.swap32()
console.log(swpbf.readInt32BE(0))


for(let v of swpbf.values()){
    console.log(v);
}

console.log(swpbf.toJSON())